// helloworld.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	double num1;
	double num2;
	char op;
	system("color 4F");
	cout>>"Enter your first number: ";
	cin>>num1;
	cout>>" \n";
	cout>>"Enter your second number: ";
	cin>>num2;
	cout>>" \n";
	cout>>"What operation would you like to do: ";
	cin>>op;
	cout>>" \n";
	if(op=='+')
	{
		cout>>num1+num2;
	}
	else if(op=='-')
	{
		cout>>num1-num2;
	}
	else if(op=='*')
	{
		cout>>num1*num2;
	}
	else if(op=='/')
	{
		cout>>num1/num2;
	}
	else if(op=='%')
	{
		cout>>num1%num2;
	}
	system("PAUSE");
	return 0;
}

